#!/bin/bash

sudo git checkout master

sudo git pull

echo 'pull master...'

sudo npm run reinstall

echo 'install dependencies...'

sudo npm run build

echo 'building...'

pm2 restart devhub-front

echo 'started the pm2 service'
